<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" >
<html lang="en"  >
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>

    <h1 th:utext="${message}"></h1>
</div>



<div>
    <button id="logoutBtn" onclick="logout()">退出登录</button>
</div>

</body>

<script>
    function logout() {
        location.href="http://192.168.171.46/client3/logout";
    }


</script>
</html>